package cc.orange.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by CM on 2023/1/4.
 */

public class ChatListEntity {

   @SerializedName("msg")
   private String msg;
   @SerializedName("code")
   private int code;
   @SerializedName("data")
   private Data data;

   public String getMsg() {
      return msg;
   }

   public void setMsg(String msg) {
      this.msg = msg;
   }

   public int getCode() {
      return code;
   }

   public void setCode(int code) {
      this.code = code;
   }

   public Data getData() {
      return data;
   }

   public void setData(Data data) {
      this.data = data;
   }

   public static class Data {
      @SerializedName("totalNum")
      private int totalNum;
      @SerializedName("dataList")
      private List<DataList> dataList;

      public int getTotalNum() {
         return totalNum;
      }

      public void setTotalNum(int totalNum) {
         this.totalNum = totalNum;
      }

      public List<DataList> getDataList() {
         return dataList;
      }

      public void setDataList(List<DataList> dataList) {
         this.dataList = dataList;
      }

      public static class DataList {
         @SerializedName("name")
         private String name;
         @SerializedName("photo")
         private String photo;
         @SerializedName("time")
         private String time;
         @SerializedName("detail")
         private String detail;
         @SerializedName("number")
         private String number;
         @SerializedName("womanId")
         private int womanId;
         @SerializedName("spareStatus")
         private String spareStatus;
         @SerializedName("remarkName")
         private String remarkName;
         @SerializedName("unreadNum")
         private int unreadNum;

         public String getName() {
            return name;
         }

         public void setName(String name) {
            this.name = name;
         }

         public String getPhoto() {
            return photo;
         }

         public void setPhoto(String photo) {
            this.photo = photo;
         }

         public String getTime() {
            return time;
         }

         public void setTime(String time) {
            this.time = time;
         }

         public String getDetail() {
            return detail;
         }

         public void setDetail(String detail) {
            this.detail = detail;
         }

         public String getNumber() {
            return number;
         }

         public void setNumber(String number) {
            this.number = number;
         }

         public int getWomanId() {
            return womanId;
         }

         public void setWomanId(int womanId) {
            this.womanId = womanId;
         }

         public String getSpareStatus() {
            return spareStatus;
         }

         public void setSpareStatus(String spareStatus) {
            this.spareStatus = spareStatus;
         }

         public String getRemarkName() {
            return remarkName;
         }

         public void setRemarkName(String remarkName) {
            this.remarkName = remarkName;
         }

         public int getUnreadNum() {
            return unreadNum;
         }

         public void setUnreadNum(int unreadNum) {
            this.unreadNum = unreadNum;
         }
      }
   }
}
